//
//  DYFooterViewCell.m
//  BaiSi
//
//  Created by mac on 16/10/21.
//  Copyright © 2016年 DeYi. All rights reserved.
//

#import "DYFooterViewCell.h"
#import "DYFooterItem.h"
#import <SDWebImage/UIImageView+WebCache.h>

@interface DYFooterViewCell ()
@property (weak, nonatomic) IBOutlet UIImageView *iconView;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;

@end

@implementation DYFooterViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setItem:(DYFooterItem *)item {
    _item = item;
    [_iconView sd_setImageWithURL:[NSURL URLWithString:item.icon]];
    _titleLabel.text = item.name;
    
}
@end
